package com.example.servlet.integration.restclient.httpinterface;

import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;

public class HttpServiceProxy {
    WebClient client = WebClient.builder().baseUrl("https://api.github.com/").build();
    HttpServiceProxyFactory factory = HttpServiceProxyFactory.builder(WebClientAdapter.forClient(client)).build();

    RepositoryService service = factory.createClient(RepositoryService.class);


}
